package br.com.news.ws;

import javax.jws.WebMethod;
import javax.jws.WebService;

import br.com.news.utils.GenericWS;
import br.com.news.utils.service.interfaces.IUsuarioAndroidService;

@WebService
public class UsuarioAndroidWs extends GenericWS {

	IUsuarioAndroidService usuarioAndroidService;

	@WebMethod(exclude=true)
	public void setUsuarioAndroidService(
			IUsuarioAndroidService usuarioAndroidService) {
		this.usuarioAndroidService = usuarioAndroidService;
	}
	
	public String sayHello(String name) {
		if (name == null) {
			return "Hello";
		}
		return "Hello, " + name + "!";
	}
	
}
